package com.xbongbong.paas.enums;

import com.xbongbong.i18n.util.I18nMessageUtil;
import lombok.Getter;

/**
 * 导入说明和示例
 */
@Getter
public enum ImportExampleNameEnum {
    FIRST(0, "enum.importExampleName.firstCol.first", "enum.importExampleName.secondCol.first", "enum.importExampleName.thirdCol.first"),
    SECOND(1, "enum.importExampleName.firstCol.second", "enum.importExampleName.secondCol.second", "enum.importExampleName.thirdCol.second"),
    THIRD(2, "enum.importExampleName.firstCol.third", "enum.importExampleName.secondCol.third", "enum.importExampleName.thirdCol.third"),
    FOURTH(3, "enum.importExampleName.firstCol.fourth", "enum.importExampleName.secondCol.fourth", "enum.importExampleName.thirdCol.fourth"),
    FIFTH(4, "enum.importExampleName.firstCol.fifth", "enum.importExampleName.secondCol.fifth", "enum.importExampleName.thirdCol.fifth"),
    SIXTH(5, "enum.importExampleName.firstCol.sixth", "", "enum.importExampleName.thirdCol.sixth"),
    SEVENTH(6, "enum.importExampleName.firstCol.seventh", "", "enum.importExampleName.thirdCol.seventh"),
    EIGHTH(7, "enum.importExampleName.firstCol.eighth", "", "enum.importExampleName.thirdCol.eighth"),
    NINTH(8, "enum.importExampleName.firstCol.ninth", "", "enum.importExampleName.thirdCol.ninth"),
    TENTH(9, "enum.importExampleName.firstCol.tenth", "", "enum.importExampleName.thirdCol.tenth"),
    ELEVENTH(10, "enum.importExampleName.firstCol.eleventh", "", "enum.importExampleName.thirdCol.eleventh"),
    TWELFTH(11, "enum.importExampleName.firstCol.twelfth", "", "enum.importExampleName.thirdCol.twelfth"),
    THIRTEEN(12, "enum.importExampleName.firstCol.thirteen", "", ""),
    ;

    private int row;
    private String firstCol;
    private String secondCol;
    private String thirdCol;

    ImportExampleNameEnum(int row, String firstCol, String secondCol, String thirdCol) {
        this.row = row;
        this.firstCol = firstCol;
        this.secondCol = secondCol;
        this.thirdCol = thirdCol;
    }

    public String getFirstCol() {
        return I18nMessageUtil.getMessage(firstCol);
    }

    public String getSecondCol() {
        return I18nMessageUtil.getMessage(secondCol);
    }

    public String getThirdCol() {
        return I18nMessageUtil.getMessage(thirdCol);
    }
}
